package com.oa.pm.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;




import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 校招渠道管理表
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("pm_school_recruit_channels")
@ApiModel(value="校招渠道管理表")
public class SchoolRecruitChannels extends Model<SchoolRecruitChannels> {

        private static final long serialVersionUID = 1L;


        @ApiModelProperty(value="id")
        @TableId(value = "id", type = IdType.UUID)
        private String id;

        @ApiModelProperty(value="省份id(区域表id)")
        private String provinceId;

        @ApiModelProperty(value="城市id(区域表id)")
        private String cityId;

        @ApiModelProperty(value="学校")
        private String school;

        @ApiModelProperty(value="联系人")
        private String linkman;

        @ApiModelProperty(value="联系电话")
        private String contactNumber;

        @ApiModelProperty(value="邮箱")
        private String email;

        @ApiModelProperty(value="合作状态（1-合作   2-未合作）")
        private Integer cooperationState;

        @ApiModelProperty(value="备注")
        private String remake;

        @ApiModelProperty(value="是否删除(1-已删除 2-未删除)")
        private Integer isDeleted;


        @Override
        protected Serializable pkVal() {
                    return this.id;
                }

        }